from org.inph.module.user import User
class UserService():
    def checkUser(self,name,password):
        user = User();
        users = user.findUser(name,password);
        if users.count() > 0:
            return True;
        else:
            return False;